package com.java8feature.generic;

/**
 * @Description:
 * @Author: yangzhiwei
 * @Date: 2021/5/15 15:31
 */
class TestA<T extends A1> {
    T base;
}

class A1 {

}

class B1 extends A1 {
    public void fun() {
        System.out.println("fun");
    }

}

public class TestB extends TestA<B1> {
    public static void main(String[] args) {
        TestA<B1> b = new TestA();
        b.getClass().getGenericInterfaces();
    }
}
